const report = {
  path: '/report',
  name: 'report',
  meta: { id: '10', title: '统计', icon: 'ios-stats' },
  component: resolve => require(['@/views/Base'], resolve),
  children: [{
    path: '/report/rebate/rebateList',
    name: 'report/rebate/rebateList',
    component: resolve => require(['@/views/report/rebate/RebateList'], resolve),
    meta: {
      id: '10-1',
      title: '门店返利',
      active: false,
      keepAlive: true
    }
  }, {
    path: '/report/rebate/rebateEdit',
    name: 'report/rebate/edit',
    hidden: true,
    component: resolve => require(['@/views/report/rebate/RebateEdit'], resolve),
    meta: {
      id: '10-2',
      title: '查看返利详情'
    }
  }, {
    path: '/report/patrol/list',
    name: `report/patrol/list`,
    meta: {
      id: '10-4',
      title: '经销商巡店',
      keepAlive: true
    },
    component: () => import('@/views/report/patrol/PatrolList')
  }, {
    path: '/report/patrol/detail',
    name: `report/patrol/detail`,
    hidden: true,
    meta: {
      id: '10-4',
      title: '经销商巡店',
      active: false
    },
    component: () => import('@/views/report/patrol/PatrolDetail')
  }, {
    path: '/report/brandpatrol/list',
    name: `report/brandpatrol/list`,
    meta: {
      id: '10-5',
      title: '品牌商巡店',
      keepAlive: true
    },
    component: () => import('@/views/report/brandpatrol/PatrolList')
  }, {
    path: '/report/brandpatrol/detail',
    name: `report/brandpatrol/detail`,
    hidden: true,
    meta: {
      id: '10-5',
      title: '品牌商巡店',
      active: false
    },
    component: () => import('@/views/report/brandpatrol/PatrolDetail')
  }, {
    path: '/report/dealerreceipt/list',
    name: `report/dealerreceipt/list`,
    // hidden: true,
    meta: {
      id: '10-6',
      title: '经销商返利',
      active: false
    },
    component: () => import('@/views/report/dealerreceipt/RebateFlowList')
  }, {
    path: '/report/factory/factoryList',
    name: 'report/factory/factoryList',
    component: resolve => require(['@/views/report/factory/FactoryList'], resolve),
    meta: {
      id: '10-7',
      title: '直发统计',
      active: false,
      keepAlive: true
    }
  }, {
    path: '/report/ship/shipList',
    name: 'report/ship/shipList',
    component: resolve => require(['@/views/report/ship/ShipList'], resolve),
    meta: {
      id: '10-11',
      title: '发货统计',
      active: false,
      keepAlive: true
    }
  }, {
    path: '/report/special/specialList',
    name: 'report/special/specialList',
    component: resolve => require(['@/views/report/special/SpecialList'], resolve),
    meta: {
      id: '10-9',
      title: '特价发货',
      active: false,
      keepAlive: true
    }
  }, {
    path: '/report/integralmonth/list',
    name: 'report/integralmonth/list',
    component: resolve => require(['@/views/report/integralmonth/IntegralMonthList'], resolve),
    meta: {
      id: '10-10',
      title: '门店月积返',
      active: false,
      keepAlive: true
    }
  }, {
    path: '/report/integralmonth/detail',
    name: `report/integralmonth/detail`,
    hidden: true,
    meta: {
      id: '10-10',
      title: '门店月积返',
      active: false
    },
    component: () => import('@/views/report/integralmonth/IntegralMonthInfo')
  }, {
    path: '/report/visit/list',
    name: 'report/visit/list',
    component: resolve => require(['@/views/report/visit/VisitList'], resolve),
    meta: {
      id: '10-12',
      title: '门店拜访',
      keepAlive: true
    }
  }, {
    path: '/report/visit/detail',
    name: 'report/visit/detail',
    hidden: true,
    component: resolve => require(['@/views/report/visit/VisitDetail'], resolve),
    meta: {
      id: '10-12',
      title: '门店拜访详情',
      active: false
    }
  }]
}
export default report
